Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ Remove usage of plainPassword for User #635

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

0x46616c6b
Copy link
Member

No description provided.

@@ -34,25 +30,12 @@ public function onLogin(LoginEvent $event): void
}

private function handleLogin(User $user): void
{
// update password hash if necessary
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you think we'll need this functionality in the future?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I don't see it for the future, to be honest.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But how do you think, we'll do updates to future hashing algorithms?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We decide and implement it when it is necessary. At the moment it is dead code.

@0x46616c6b 0x46616c6b force-pushed the Remove-PlainPasswordTrait-from-User branch from 85d7dd2 to 34110af Compare September 28, 2024 19:46
@0x46616c6b 0x46616c6b marked this pull request as ready for review September 28, 2024 19:47
Copy link

sonarcloud bot commented Sep 29, 2024

@0x46616c6b 0x46616c6b changed the title ♻️ Remove PlainPasswordTrait from User ♻️ Remove usage of plainPassword for User Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants